package com.dingreading.cloud.ssxcx.service;

import com.dingreading.cloud.ssxcx.dto.XcxLessonMaterialsDto;
import com.mybatisflex.core.service.IService;
import com.dingreading.cloud.ssxcx.entity.XcxLessonMaterials;

import java.util.List;

/**
 * 小程序课节资料表 服务层。
 *
 * @author EDY
 * @since 2025-08-15
 */
public interface XcxLessonMaterialsService extends IService<XcxLessonMaterials> {

    List<XcxLessonMaterialsDto> listByLessonUidAndStage(String subjectLessonUid, Integer materialStage);

    List<XcxLessonMaterialsDto> getMistakeQuestions(String subjectLessonUid, List<String> questionUids);

    XcxLessonMaterials getLatest(String subjectLessonUid, Integer materialStage);

}
